{% from "__autoindex__/macros.html" import entry, thead, breadcrumb with context %}
{% block meta %}
  <link rel="stylesheet" type="text/css"
    href="{{ url_for('__autoindex__.static', filename='autoindex.css') }}" />
{% endblock %}

<table>
  <thead>
    {{ thead() }}
    {% if not curdir.is_root() %}
      <tr>
        <td class="breadcrumb" colspan="4">
          <h1>{{ breadcrumb(curdir) }}</h1>
        </td>
      </tr>
    {% endif %}
  </thead>
  <tbody class="tableContainer">
      {% for ent in entries %}
          {{ entry(ent) }}
      {% endfor %}
  </tbody>
</table>

